package com.paradox.aggregation.providerAPI.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "provider",fallback = FallbackService.class)
public interface ProviderService {

    @GetMapping("provider/getSource")
    String getSource();

    @GetMapping("provider/getProviders")
    Boolean testMysql();
}
